package com.suxin.datahub.domain;

import com.suxin.datahub.enums.DbType;
import lombok.Data;

/**
 * @Classname DataSourceDomain
 * @Description [ 数据源实体类 ]
 * @Author Tang
 * @Date 2020/11/9 17:10
 * @Created by ASUS
 */
@Data
public class DataSourceDomain {

    /**
     *数据源配置名字，做缓存用
     */
    private String name;

    private String url;

    private String driverClassName;

    private String username;

    private String password;

    /**
     * 要执行的sql语句
     */
    private String sql;

    /**
     * 数据库类型
     */
    private DbType dbType;

}